package com.wwz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wwz.pojo.Charge;
import com.wwz.pojo.query.ChargeQuery;

/**
 * 物业收费接口
 * @date 2022/03/25 56:12:26
 */
public interface IChargeService extends IService<Charge> {

    /**
     * 分页查询
     * @param query
     * @return
     */
    IPage<Charge> toPage(ChargeQuery query);

    /**
     * 添加或修改
     * @param charge
     */
    void addOrUpdate(Charge charge);
}
